package com.dao;

import com.entity.system.BusinessShop;

import java.util.List;
import java.util.Map;

public interface BusinessShopMapper {
    int deleteByPrimaryKey(Long id);

    int insert(BusinessShop record);

    int insertSelective(BusinessShop record);

    BusinessShop selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(BusinessShop record);

    int updateByPrimaryKey(BusinessShop record);

    List<BusinessShop> findBusinessShopByState(Map<String,Object> map);

    BusinessShop findBusinessShopByUserId(Long userId);

    BusinessShop findByMap(Map<String,Object> map);
}